package com.smart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.model.domain.PortDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhanghong
 */
@Repository
public interface PortMapper extends BaseMapper<PortDO> {
    PortDO selectDOById(Long Id);
    List<PortDO> selectDOList(PortDO port);
    int insertDO(PortDO port);
    int batchInsertDO(List<PortDO> portDOList);
    int updateDO(PortDO port);
    int deleteDOById(Long Id);
    int deleteDOByIds(String[] Ids);
}
